home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / edit / ced_programs.lha / CED-Programs / ReadMe < prev    next >
Text File  |  1993-02-14  |  3KB  |  98 lines

  1.  
  2.                          Six CED-ARexx-Programs
  3.  
  4.                            Stefan Winterstein
  5.                           (winter@cs.uni-sb.de)
  6.  
  7.  
  8.  
  9.     Here are a few ARexx programs for CygnusEd Pro.  I wrote them for my
  10. personal needs some time ago, but as they are really handy, I thought I
  11. might make them available to other users.
  12.  
  13.  
  14. Installation
  15. ------------
  16.  
  17.     To use the programs, copy them to your 'Rexx:ced' directory.  You
  18. can try them from CED using "Send DOS/Arexx Command..." from the menu;
  19. enter "ced/<programname>" in the requester (you don't need the ".ced"
  20. suffix).
  21.     To install them permanently, you can either assign them to function
  22. keys via "Install DOS/Arexx command..." or execute them as a macro.  For
  23. example, I have bound "LeftShift" to the "<"-key and "RightShift" to ">".
  24.  
  25.  
  26. Descriptions
  27. ------------
  28.  
  29.     Most of the programs (except for "FormatNewsHeader") operate on the
  30. currently marked block.  For example, to mark a paragraph with "«" on
  31. the right side, go to the first line, turn block marking on, move the
  32. cursor to the last line you want to mark, then call "MarkRight".
  33.  
  34.  
  35. Left-C-Comment.ced
  36.  
  37.   This program turns the currently marked block into a C-comment.  If no
  38.   block is marked, it comments the current line.  Example:
  39.  
  40.       /*
  41.        * Put a nice C-style comment on the left hand side
  42.        * of the current block or current line.
  43.        *
  44.        */
  45.  
  46.  
  47. LeftShift.ced / RightShift.ced
  48.  
  49.   These programs move the currently marked block to the left and right
  50.   respectivly.  The indent depth is the current tabsize setting.  Useful
  51.   for in- and outdenting blocks in a source file.
  52.  
  53.  
  54. MarkRight.ced
  55.  
  56.   This program marks the currently selected block with "«" signs on the
  57.   right margin.  I use it to mark important paragraphs in the news
  58.   articles I keep in my archive.
  59.  
  60.  
  61. Quote.ced
  62.  
  63.   This program turns the currently selected block into a quote by
  64.   inserting "> " at the beginning of every line.
  65.  
  66.  
  67. FormatNewsHeader.ced
  68.  
  69.   This program strips unnecessary lines from the header of news articles
  70.   and reformats them.  It considers the next line starting with "Article:"
  71.   as the start of a header.  The result looks like this:
  72.  
  73.      Subject: Re: Byte's Amiga 4000 review...
  74.  
  75.      From: andy@cbmvax.commodore.com (Andy Finkel)
  76.      Organization: Flying Cat, Inc.
  77.      Date: 11 Jan 93 15:29:12 GMT
  78.  
  79.      Newsgroups: comp.sys.amiga.advocacy
  80.      Article: 5376 of comp.sys.amiga.advocacy
  81.      Message-ID: <38461@cbmvax.commodore.com>
  82.  
  83.  
  84.  
  85. Disclaimer
  86. ----------
  87.  
  88. All programs are in the Public Domain. Do with them what you want, but
  89. don't blame me.
  90.  
  91. Enjoy.
  92.  
  93. ---                                                                 ///
  94.   Stefan Winterstein, Schwarzbachstr. 7, W-6650 Homburg 6, Germany ///
  95.                                                              __   ///
  96.                    winter@cs.uni-sb.de                       \\\ ///
  97.                                                               \\X//
  98.